package com.cet.lxf.oop.test05;

import java.math.BigInteger;

/**
 * @program: algorithm
 * @description:
 * @author: 陈恩涛
 * @create: 2021-06-28 14:10
 **/
public class Main02 {
    public static void main(String[] args) {

        BigInteger bi = new BigInteger("1234567890");
        System.out.println(bi.pow(5));

        // BigInteger的值超过3.4*10^34，返回的float为Infinity
        System.out.println(bi.pow(999).floatValue());
    }
}
